class Review < ActiveRecord::Base
  belongs_to :user
  belongs_to :movie
  validates_presence_of :user_id
  validates_presence_of :movie_id
  validates_numericality_of :score, :greater_than_or_equal_to => 1, :less_than_or_equal_to => 5

  attr_accessible :user, :movie, :score

end
